
package com.caiyi.financial.nirvana.sms.gateway.cmpp.cmpp20.message.body;

import com.caiyi.financial.nirvana.sms.gateway.cmpp.cmpp20.message.CMPPBody;
import io.netty.buffer.ByteBuf;

/**
 * @author lvchaohua
 */
public class CMPPActiveTestResp extends CMPPBody {

    private byte reserved;

    @Override
    public int encode(ByteBuf buffer) {
        buffer.writeByte(reserved);
        return 1;
    }

    @Override
    public CMPPBody decode(ByteBuf buffer) {
        this.reserved = buffer.readByte();
        return this;
    }

}
